package pack0806;
//1.引入出处
import java.util.Scanner;
public class DemoD {
    public static void main(String[] args){
        //2.产生Scanner的类型
        Scanner in = new Scanner(System.in);
        //3.接收整型--输入一个整形数字
        System.out.println("请输入一个整型数字：");
        int a = in.nextInt();
        //3.接收浮点型--输入一个浮点型数字
        System.out.println("请输入一个浮点型数字：");
        double b = in.nextDouble();
        System.out.print("你输入的整形数字是：\"");
        System.out.print(a);
        System.out.println("\"");
        System.out.print("你输入的浮点型数字是：\"");
        System.out.print(b);
        System.out.println("\"");
    }
}
